//
//  DXDataPicker.h
//  express
//
//  Created by dd on 12/7/14.
//  Copyright (c) 2014 yunqi. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol DXRegionPickerDelegate <NSObject>
- (void)didSelectProvince:(NSString *)province city:(NSString *)city county:(NSString *)county;
- (void)didCancelSelection;
@end

@interface DXRegionPicker : UIView<UIPickerViewDelegate, UIPickerViewDataSource>
{
    UIView *_pickerHolder;
    UIPickerView *_pickerView;
    
    NSDictionary *_region;
    NSArray *_provinceKeys;
}

@property (weak) id <DXRegionPickerDelegate> delegate;

- (void)show;

@end
